﻿using System;

namespace SistemaCarros.Paginas
{
    public partial class PaginaErro : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Exception ex = Session["erro"] as Exception;
            lblMessage.Text = "Message: " + ex.Message;
            lblStackTrace.Text = "StackTrace: " + ex.StackTrace;
        }
    }
}